package com.hzhr.iot.device.dao.mapper.custom;

import com.hzhr.iot.device.entity.CollectDeviceEntity;
import com.hzhr.iot.device.entity.IotDeviceEntity;
import com.hzhr.iot.device.entity.ext.AlarmDataEntityExt;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface CygMapper {
    List<Map<String, Object>> select1();
    int select2(@Param("imei") String imei);
    int insert1(@Param("imei") String imei, @Param("des") String des, @Param("status") Integer status, @Param("opt") Integer opt);
    int insert2(@Param("imei") String imei, @Param("des") String des, @Param("iotPlatformDeviceId") String iotPlatformDeviceId, @Param("status") Integer status, @Param("opt") Integer opt);
    int insert3(@Param("imei") String imei, @Param("iotPlatformDeviceId") String iotPlatformDeviceId, @Param("status") Integer status,  @Param("opt") Integer opt);
    int updateStatus(@Param("imei") String imei, @Param("status") String status);
    int delete1(@Param("imei") String imei);
}
